package com.itheima.date;

import java.util.Date;

/*
Date 类 构造方法
 */
public class Demo02 {

    public static void main(String[] args) {
        //
        long l = System.currentTimeMillis();
        Date date = new Date();
        System.out.println(date);

        Date date1 = new Date(13545431325L);
        System.out.println(date1);

        Date date2 = new Date(l);
        System.out.println(date2);
    }
}
